/*
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
import org.apache.lucene.analysis.tokenattributes.OffsetAttribute;
import org.apache.lucene.analysis.tokenattributes.TypeAttribute;

import org.wltea.analyzer.lucene.IKAnalyzer;

import java.io.IOException;
import java.io.StringReader;

*/
/**
 * Created by liuyaowen on 2016/8/26.
 *//*

public class Test2 {
    public static void main(String[] args){
        //构建IK分词器，使用smart分词模式
        Analyzer analyzer = new IKAnalyzer(true);



    }

}

*/
